package cn.bdqn.pojo;

import java.util.Date;

/**
 * Emp entity. @author MyEclipse Persistence Tools
 */

public class Emp implements java.io.Serializable {

	// Fields

	private Integer empno; //员工编号	
	private String ename;//姓名
	private String job;//职位
	//private Integer mgr;//上司编号
	private Date hiredate;//入职时间
	private Double sal;//薪资
	private Double comm;//奖金
	
	public Integer getEmpno() {
		return empno;
	}
	public void setEmpno(Integer empno) {
		this.empno = empno;
	}
	public String getEname() {
		return ename;
	}
	public void setEname(String ename) {
		this.ename = ename;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public Date getHiredate() {
		return hiredate;
	}
	public void setHiredate(Date hiredate) {
		this.hiredate = hiredate;
	}
	public Double getSal() {
		return sal;
	}
	public void setSal(Double sal) {
		this.sal = sal;
	}
	public Double getComm() {
		return comm;
	}
	public void setComm(Double comm) {
		this.comm = comm;
	}
	public Emp(Integer empno, String ename, String job, Date hiredate,
			Double sal, Double comm) {
		super();
		this.empno = empno;
		this.ename = ename;
		this.job = job;
		this.hiredate = hiredate;
		this.sal = sal;
		this.comm = comm;
	}
	public Emp( String ename, String job) {
		super();
		this.ename = ename;
		this.job = job;
	}
	public Emp() {
		super();
		// TODO Auto-generated constructor stub
	}

}